package learn_concurrent._12;

import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.Set;

public class TT {
	
	public static void main(String[] args) {
		LocalDateTime now1 = LocalDateTime.now();
		LocalDateTime now2 = LocalDateTime.now();
		
		int dayOfYear1 = now1.getDayOfYear();
		int dayOfYear2 = now2.getDayOfYear();
		
		ZonedDateTime zonedDateTime = ZonedDateTime.now();
		
		ZoneId zone = zonedDateTime.getZone();
		
		System.out.println(zonedDateTime);
		System.out.println(zone);
		
		Set<String> zoneIds = ZoneId.getAvailableZoneIds();
		System.out.println(zoneIds);
		
		System.out.println(dayOfYear1);
		System.out.println(dayOfYear2);
	}
	
}
